package top.dfghhj.anhanx.oauth.dao.impl;

import org.springframework.stereotype.Repository;
import top.dfghhj.anhanx.oauth.dao.SysUserDao;
import top.dfghhj.anhanx.oauth.entity.DO.SysUser;
import top.dfghhj.anhanx.oauth.mapper.SysUserMapper;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class SysUserDaoImpl implements SysUserDao {

    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> findByUsername(String username){
        return sysUserMapper.findByUsername(username);
    }

}
